package com.qidi.dao;

import com.qidi.bean.Emp;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author zhouXinBin
 * @create 2020-11-04-0:03
 */
@Mapper
@Repository

public interface EmpMapper {
    public void add(Emp emp);
    public void update(Emp emp);
    public void delete(Integer id);

    public Emp getById(Integer id);
    public List<Emp> getAll();
}
